package com.ssy.lingxi.member.merchant.api.model.vo.inner.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * （内部）校验会员支付密码接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-11-06
 */
public class MemberFeignPayPswCheckVO implements Serializable {
    private static final long serialVersionUID = 1101929784822933409L;

    /**
     * 会员Id
     */
    @NotNull(message = "会员Id要大于0")
    @Positive(message = "会员Id要大于0")
    private Long memberId;

    /**
     * 支付密码（Aes加密后的Base64字符串）
     */
    @NotBlank(message = "支付密码不能为空")
    private String payPassword;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }
}
